using System;
using System.Collections.Generic;
using System.Text.Json.Serialization;

namespace JT808Protocol.Models.BodyParserStrategy
{
    /// <summary>
    /// 终端上报乘客流量
    /// </summary>
    public class DrRidership_0x1005 : IJT808Body
    {
        /// <summary>
        /// 起始时间
        /// </summary>
        [JsonPropertyName("起始时间")] public DateTime StartTime { get; set; }

        /// <summary>
        /// 结束时间
        /// </summary>
        [JsonPropertyName("结束时间")] public DateTime EndTime { get; set; }

        /// <summary>
        /// 上车人数
        /// </summary>
        [JsonPropertyName("上车人数")] public ushort GetOnCount { get; set; }

        /// <summary>
        /// 下车人数
        /// </summary>
        [JsonPropertyName("下车人数")] public ushort GetOffCount { get; set; }

        public override IJT808Body ReadBody(ReadOnlySpan<byte> data, ref int index)
        {
            throw new NotImplementedException();
        }

        public override List<byte> WriteToBytes()
        {
            throw new NotImplementedException();
        }
    }
}